<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-yzLogin-edit" th:object="${yzLogin}">
            <input id="id" name="id" th:field="*{id}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户账号：</label>
                <div class="col-sm-8">
                    <input id="username" name="username" th:field="*{username}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户密码：</label>
                <div class="col-sm-8">
                    <input id="password" name="password" th:field="*{password}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户邮箱：</label>
                <div class="col-sm-8">
                    <input id="useremail" name="useremail" th:field="*{useremail}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户密保问题：</label>
                <div class="col-sm-8">
                    <input id="userpassw" name="userpassw" th:field="*{userpassw}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户密保问题答案：</label>
                <div class="col-sm-8">
                    <input id="userda" name="userda" th:field="*{userda}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户登录时间：</label>
                <div class="col-sm-8">
                    <input id="userlogintime" name="userlogintime" th:field="*{userlogintime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户到期时间：</label>
                <div class="col-sm-8">
                    <input id="userovertime" name="userovertime" th:field="*{userovertime}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户充值卡密：</label>
                <div class="col-sm-8">
                    <input id="userkm" name="userkm" th:field="*{userkm}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户在线状态1在线2离线：</label>
                <div class="col-sm-8">
                    <input id="usertype" name="usertype" th:field="*{usertype}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">用户软件归属：</label>
                <div class="col-sm-8">
                    <input id="userinfoid" name="userinfoid" th:field="*{userinfoid}" class="form-control" type="text">
                </div>
            </div>
			<div class="form-group">
				<div class="form-control-static col-sm-offset-9">
					<button type="submit" class="btn btn-primary">提交</button>
					<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "module/yzLogin"
		$("#form-yzLogin-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			submitHandler: function(form) {
				$.operate.save(prefix + "/edit", $('#form-yzLogin-edit').serialize());
			}
		});
	</script>
</body>
</html>
